#ifndef  __MATRIXKEY_H_
#define __MATRIXKEY_H_


#define COL1 P03
#define COL2 P06
#define COL3 P07
#define COL4 P17

#define ROW1 P34
#define ROW2 P35
#define ROW3 P40
#define ROW4 P41

#define DOWN 0
#define UP	 1

#define ROW_NUMBER 4
#define COL_NUMBER 4

extern void MK_down(row, col);

void MK_init();

void MK_scan();

#endif